<div id="aside" class="box">
	<div class="padding box">
		<div id="menubar">
			<?php
					if ($isAdmin)
					{
			?>
			<div>
				<h4>
					<a href="#">System</a>
				</h4>
				<div>
					<ul>
						<li><strong><a href="<?php echo url('dashboard/show');?>">Dash Board</a></strong><li>
						<li><strong><a href="<?php echo url('report/index');?>">Reporting</a></strong><li>
						<li><strong><a href="<?php echo url('advertiser/index');?>">Advertisers</a></strong><li>
						<li><strong><a href="<?php echo url('advertiserdata/index');?>">Adv. Data</a></strong><li>
					</ul>
				</div>
			</div>
			<div>
				<h4>
					<a href="#">Admins</a>
				</h4>
				<div>
					<ul>
						<li><strong><a href="<?php echo url('admin/show');?>">Admins</a></strong><li>
						<li><strong><a href="<?php echo url('admin/settings');?>">Settings</a></strong><li>
					</ul>
				</div>
			</div>
			<div>
				<h4>
					<a href="#">CGB</a>
				</h4>
				<div>
					<ul>
						<li><strong><a href="<?php echo url('site/show');?>">Web Sites</a></strong><li>
						<li><strong><a href="<?php echo url('monetization/index');?>">Monetizations</a></strong><li>
						<li><strong><a href="<?php echo url('user/search');?>">Users</a></strong><li>
						<li><strong><a href="<?php echo url('fulfillment/index');?>">Fulfillments</a></strong><li>
						<li><strong><a href="<?php echo url('pixel/index');?>">Pixels</a></strong><li>
						<li><strong><a href="<?php echo url('pixelmanager/tblindex');?>">Pixel Manager</a></strong><li>
						<li><strong><a href="<?php echo url('bannermanager/index');?>">BannerManager</a></strong><li>
						<li><strong><a href="<?php echo url('offermanager/index');?>">Email Offers</a></strong><li>
						<li><strong><a href="<?php echo url('bluebaroffer/index');?>">BlueBar Offer</a></strong><li>
						<li><strong><a href="<?php echo url('dailydeals/index');?>">Daily Deals</a></strong><li>
						<li><strong><a href="<?php echo url('tipmanager/index');?>">Tip Manager</a></strong><li>
						<li><strong><a href="<?php echo url('listmanager/index');?>">List Manager</a></strong><li>
						<li><strong><a href="<?php echo url('emailflow/index');?>">Email Flow</a></strong><li>
						<li><strong><a href="<?php echo url('errors/index');?>">Errors</a></strong><li>
					</ul>
				</div>
			</div>
				<div>
					<h4>
						<a href="#">Marketing</a>
					</h4>
					<div>
						<ul>
							<li><strong><a href="<?php echo url('admin/showpubs');?>">Pub Accounts</a></strong><li>
							<li><strong><a href="<?php echo url('campaign/show');?>">Campaigns</a></strong><li>
							<li><strong><a href="<?php echo url('publisher/show');?>">Publishers</a></strong><li>
							<li><strong><a href="<?php echo url('creative/show');?>">Creatives</a></strong><li>
							<li><strong><a href="<?php echo url('offer/index');?>">Offers</a></strong><li>
							<li><strong><a href="<?php echo url('landingurl/index');?>">Landing Urls</a></strong><li>
						</ul>
					</div>
				</div>
			<?php
					}
			?>
			 <?php if($isGameco): ?>
			<div>
				<h4>
					<a href="#">System</a>
				</h4>
				<div>
					<ul>
						<li><strong><a href="<?php echo url('dashboard/show');?>">Dash Board</a></strong><li>
					</ul>
				</div>
			</div>
			<div>
				<h4>
					<a href="#">CGB</a>
				</h4>
				<div>
					<ul>
						<li><strong><a href="<?php echo url('site/show');?>">Web Sites</a></strong><li>
						<li><strong><a href="<?php echo url('monetization/index');?>">Monetizations</a></strong><li>
						<li><strong><a href="<?php echo url('user/search');?>">Users</a></strong><li>
					</ul>
				</div>
			</div>
			<?php endif; ?>
			<?php if ($isMarketing): ?>
			<div>
				<h4>
					<a href="#">System</a>
				</h4>
				<div>
					<ul>
						<li><strong><a href="<?php echo url('dashboard/show');?>">Dash Board</a></strong><li>
						<li><strong><a href="<?php echo url('report/index');?>">Reporting</a></strong><li>
					</ul>
				</div>
			</div>
				<div>
					<h4>
						<a href="#">Marketing</a>
					</h4>
					<div>
						<ul>
							<li><strong><a href="<?php echo url('admin/showpubs');?>">Pub Accounts</a></strong><li>
							<li><strong><a href="<?php echo url('campaign/show');?>">Campaigns</a></strong><li>
							<li><strong><a href="<?php echo url('publisher/show');?>">Publishers</a></strong><li>
							<li><strong><a href="<?php echo url('creative/show');?>">Creatives</a></strong><li>
							<li><strong><a href="<?php echo url('offer/index');?>">Offers</a></strong><li>
							<li><strong><a href="<?php echo url('landingurl/index');?>">Landing Urls</a></strong><li>
						</ul>
					</div>
				</div>
			<?php endif; ?>
			<?php if ($isPublisher) : ?>
			<div>
				<h4>
					<a href="#">System</a>
				</h4>
				<div>
					<ul>
						<li><strong><a href="<?php echo url('dashboard/show');?>">Dash Board</a></strong><li>
						<li><strong><a href="#">Settings</a></strong><li>
					</ul>
				</div>
			</div>
			<?php endif; ?>
			<?php if ($isReadonly) : ?>
			<div>
				<h4>
					<a href="#">System</a>
				</h4>
				<div>
					<ul>
						<li><strong><a href="<?php echo url('report/index');?>">Reporting</a></strong><li>
					</ul>
				</div>
			</div>
			<?php endif; ?>
		</div>
	</div>
</div>